package com.cy.pj.sys.entity;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.cy.pj.framework.excel.util.SysdeptConverter;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ExcelIgnoreUnannotated
public class SysUserDept implements Serializable {
	private static final long serialVersionUID = -924193587093306322L;
	@ExcelProperty( "员工编号")
	private Integer id;
	private String shopId;
	@ExcelProperty( "员工姓名")
	private String username;
	private String password;//md5
	private String salt;
	@ExcelProperty( "员工邮箱")
	private String email;
	@ExcelProperty( "员工手机")
	private String mobile;
	private Integer valid=1;
	@ExcelProperty( "工资区间")
	private String salaryArea;
	/**借助此属性存储部门信息*/
	@ExcelProperty(value = "部门名称",converter = SysdeptConverter.class)
	private SysDept sysDept; //private Integer deptId;
	private Date createdTime;
	private Date modifiedTime;
	private String createdUser;
	private String modifiedUser;
}
